package routers

import (
	"2021-06-12/controllers"

	"github.com/astaxie/beego"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/api/user/login", &controllers.UserController{}, "POST:Login")
	beego.Router("/api/user/phone", &controllers.UserController{}, "POST:SetPhone")
	beego.Router("/api/user/userinfo", &controllers.UserController{}, "POST:SetUserInfo")
}
